package com.ruoyi.eqmonitor.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * @author ruoyi
 * @date 2024-12-11
 */
public class InterfaceInfo {

    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
	@TableId(value = "id",type = IdType.AUTO)
    private Long id;

    /** 接口名称 */
    @Excel(name = "接口名称")
    private String interfaceName;

    /** 接口类型 */
    @Excel(name = "接口类型")
    private String interfaceType;

    /** 接口地址 */
    @Excel(name = "接口地址")
    private String interfaceUrl;

    /** 接口状态 */
    @Excel(name = "接口状态")
    private String interfaceState;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setInterfaceName(String interfaceName) 
    {
        this.interfaceName = interfaceName;
    }

    public String getInterfaceName() 
    {
        return interfaceName;
    }
    public void setInterfaceType(String interfaceType) 
    {
        this.interfaceType = interfaceType;
    }

    public String getInterfaceType() 
    {
        return interfaceType;
    }
    public void setInterfaceUrl(String interfaceUrl) 
    {
        this.interfaceUrl = interfaceUrl;
    }

    public String getInterfaceUrl() 
    {
        return interfaceUrl;
    }
    public void setInterfaceState(String interfaceState) 
    {
        this.interfaceState = interfaceState;
    }

    public String getInterfaceState() 
    {
        return interfaceState;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("interfaceName", getInterfaceName())
            .append("interfaceType", getInterfaceType())
            .append("interfaceUrl", getInterfaceUrl())
            .append("interfaceState", getInterfaceState())
            .toString();
    }
}